<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
    <meta charset="utf-8" />
    <title>ServiceManageGrMsgManage</title>

    <script src="/www/wsdgservicemanage/Public/static/jqgrid/js/jquery-1.11.0.min.js"></script>
    <script type="text/ecmascript" src="/www/wsdgservicemanage/Public/static/jqgrid/js/jquery.jqGrid.min.js"></script>
    <script type="text/ecmascript" src="/www/wsdgservicemanage/Public/static/jqgrid/js/i18n/grid.locale-en.js"></script>

    <link rel="stylesheet" type="text/css" media="screen" href="/www/wsdgservicemanage/Public/static/jqgrid/css/ui-lightness/jquery-ui.css" />
    <link rel="stylesheet" type="text/css" media="screen" href="/www/wsdgservicemanage/Public/static/jqgrid/css/ui.jqgrid.css" />


</head>
<body>

<div  class="span9">

    <h1>欢迎</h1>
    <h3>煽情话:我们全力以赴，为您服务！！！</h3>

    <table id="jqGrid"></table>

</div>

<div id="jqGridPager"  class="div"></div>

<script type="text/javascript">
    $(document).ready(function () {
        $("#jqGrid").jqGrid({
            url: 'index.php?s=/home/Gridjson/getServiceManageGrMsgManageJson',
            datatype: "json",
            colModel: [
                { label: 'ID', name: 'id', width: 75 },
                { label: '日期', name: 'inputdatetime', width: 90 },
                { label: '主题内容', name: 'msg', width: 100 },
            ],
            loadonce: true,
            width: 800,
            height: 250,
            rowNum: 10,
            viewrecords: true,
            pager: "#jqGridPager",
            caption: "扫码购物用户信息"
        });
    });

</script>

</body>
</html>